home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / NEUCLS3.ZIP / NURN.ZP / POLC.HLP < prev    next >
Text File  |  1994-08-19  |  3KB  |  85 lines

  1. Functional Link Training and Testing Program
  2.  
  3. Outline
  4.  
  5. 1. Program Purpose;
  6. 2. Network Characteristics;
  7. 3. Files Needed or Produced;
  8. 4. Example Run of Functional Link Program
  9. 5. Error Functions
  10.  
  11.  
  12.  
  13.  
  14. 1. Program Purpose;
  15.  a. Initialize a functional link network
  16.  b. Train the network using a fast training method
  17.  c. Process data files using the network
  18.  
  19. 2. Network Characteristics;
  20.  a. Activation Functions; Sigmoidal ( Out = 1/(1 + exp(-Net)) ) output 
  21.         units 
  22.  b. Net Functions; polynomial functions of the inputs, with 
  23.         user-chosen degrees of 1 to 5.
  24.  
  25. 3. Files Needed or Produced;
  26.  a. The network structure file; stores the number of inputs and outputs, 
  27.         and the polynomial degree.
  28.  b. The training or testing data file, which gives example inputs 
  29.      and outputs for network learning, or for testing after learning.
  30.      Al data files are in formatted, IANS form, which means that 
  31.      each pattern or feature vector is followed by the correct class
  32.      number.
  33.  c. The non-demo version saves weights.
  34.  
  35. 4. Example Run of Functional Link Program
  36.  a. Go to the "Batch Processing" option and press <ret>
  37.  b. Observe the parameter file with commented keyboard responses;
  38.  
  39. 5         ! # of training iterations
  40. 2         ! 1 for old net structure file, 2 for new one
  41. 2 16      ! degree and number of inputs
  42. 4         ! # of outputs (one per class)
  43. Grng.tp   ! network structure filename
  44. 2         ! outputs not coded (1 per class)
  45. Grng      ! data filename
  46. 0         ! # of patterns to read (0 to read all training data)
  47. 1         ! examine some data
  48. 1 2       ! examine patterns 1 and 2 (training begins here)
  49. 4         ! stop
  50.  
  51.     The program will read all patterns from the file grng, and train a
  52.     functional link net using the network structure file grng.tp, which
  53.     is shown below.
  54.  
  55.            2          16           4
  56.          153           4
  57.  
  58.     The network will be 2rd degree with 16 inputs and 4 outputs
  59.     (one for each of the four classes). The final network weights
  60.     will not be saved in the demo version.
  61.  c. Exit the DOS editor and observe the program running
  62.  d. Go to the "Examine Program Output" option and press <ret>
  63.  e. You can run this program on your own data, simply by editing the 
  64.     parameter file in the "batch Run" option.
  65.  
  66. 5. Error Functions
  67.  
  68.  a. The error function that is being minimized during functional link
  69.     training is
  70.  
  71.                    Npat Nout             2
  72.     MSE = (1/Npat) SUM  SUM [ Tpk - Opk ]
  73.                    p=1  k=1  
  74.  
  75.     where Npat is the number of training patterns, Nout is the number 
  76.     of network output nodes, Tpk is the desired output for the pth
  77.     training pattern and the kth output, and Opk is the actual output
  78.     for the pth training pattern and the kth output. The desired
  79.     output Tpk is 0 for the correct class and 1 for other classes.
  80.     MSE is printed for each iteration.
  81.  
  82.  b. The error percentage that is printed out during training is
  83.  
  84.     Err = 100 x (number of patterns misclassified/Npat).
  85.